<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>示例1</title>
</head>
<body>
    <script>
        let student = new Object()
        student.name = '张三'
        student.age = 19
        student.show = function (){
            console.log(`姓名:${this.name} 年龄:${this.age}`)
        }

        student.show()
    </script>
</body>
</html>